package com.mxpio.erp.common.plan.service;

import com.mxpio.erp.common.plan.entity.ODRejectNotice;
import com.mxpioframework.common.vo.Result;
import com.mxpioframework.jpa.query.Criteria;
import com.mxpioframework.system.service.BaseService;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

public interface ODRejectNoticeService extends BaseService<ODRejectNotice> {
    @Transactional
    Page<ODRejectNotice> listPage(Pageable page, Criteria criteria);

    Result<List<ODRejectNotice>> listByIds(String noticeNos);
}
